<!DOCTYPE html>
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title></title>
    <link href="/styles/base.css" rel="stylesheet" type="text/css">
    <link href="/styles/homepage.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="/js/jquery.js"></script>
    <script type="text/javascript" src="/js/common.js"></script>
    <script type="text/javascript" src="/js/homepage.js"></script>
</head>

<body style="position: relative;">
<div class="topBar">
    <div class="topBarC">
        <div class="logo"><a title="马蜂窝自由行" href="javascript:;">马蜂窝自由行</a></div>
        <div class="t_nav">
            <ul id="pnl_nav" data-cs-t="headnav_wo">
                <li data-cs-p="index">
                    <strong class="t"><a href="http://localhost:8888/">首页</a></strong>
                </li>
                <li data-cs-t="wenda" data-cs-p="wenda">
                    <strong class="t"><a data-cs-p="from_wo_nav" href="javascript:;">问答</a></strong>
                </li>
                <li data-cs-t="things" data-cs-p="things">
                    <strong class="t"><a data-cs-p="from_wo_nav" href="javascript:;">马蜂窝周边</a></strong>
                </li>
                <li data-cs-p="together">
                    <strong class="t"><a href="javascript:;">结伴</a></strong>
                </li>
                <li data-cs-p="group">
                    <strong class="t"><a href="javascript:;">小组</a></strong>
                </li>
                <li data-cs-p="mall">
                    <strong class="t"><a href="javascript:;">蜂首俱乐部</a></strong>
                </li>
                <li class="drop" data-cs-p="other">
                    <strong class="t"><a href="javascript:;">更多<b></b></a></strong>
                </li>
            </ul>
        </div>
        <div class="t_search">
            <form method="GET" action="/search/s.php" name="search">
                <input type="text" class="key" value="" name="q" id="word">
                <input type="submit" value="" class="btn">
            </form>

        </div>
    </div>
    <div class="main">
        <div class="banner">
            <div class="tags_bar">
                <div class="center clearfix">
                    <ul class="flt2">
                        <li ><a class="tags_link" href="javascript:;" title="我的窝">我的窝</a></li>
                        <li><a class="tags_link" href="/mine/mytravelnotes" title="我的游记">我的游记</a></li>
                        <li><a class="tags_link" href="/mine/review" title="我的点评">我的点评</a></li>
                        <li id="_j_pathnav"><a class="tags_link" href="/mine/travelcollection" title="我的收藏">我的收藏</a></li>
                        <li class="on"><a class="tags_link" href="/flight/order" title="我的订单">我的订单</a></li>
                        <li><a class="tags_link" href="/mine/setting" title="设置">设置</a></li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="center clearfix">
            <table border="0" cellspacing="0" cellpadding="20%">
                <h2 style="center">我的机票订单</h2>
                <hr/>
                <tr align="center">
                    <th>序号</th>
                    <th>订单编号</th>
                    <th>出发机场</th>
                    <th>到达机场</th>
                    <th>出发时间</th>
                    <th>到达时间</th>
                    <th>票价</th>
                    <th>航班编号</th>
                    <th>航空公司</th>
                    <th>支付状态</th>
                </tr>
                <#list orders as li>
                    <tr align="center">
                        <td>${li_index + 1}</td>
                        <td>${(li.identity)!}</td>
                        <td>${(li.flight.arrPort)!}</td>
                        <td>${(li.flight.depPort)!}</td>
                        <td>${(li.flight.arrTime?string('yyyy.MM.dd HH:mm'))!}</td>
                        <td>${(li.flight.depTime?string('yyyy.MM.dd HH:mm'))!}</td>
                        <td>${(li.flight.price)!}</td>
                        <td>${(li.flight.flightNo)!}</td>
                        <td>${(li.flight.flightName)!}</td>
                        <td>待支付</td>
                    </tr>
                </#list>
            </table>
            <table border="0" cellspacing="0" cellpadding="20%">
                <h2 style="center">我的门票订单</h2>
                <hr/>
                <tr align="center">
                    <th>序号</th>
                    <th>门票城市</th>
                    <th>旅游地点</th>
                    <th>旅游时间</th>
                    <th>门票价格</th>
                    <th>门票类型</th>
                    <th>支付状态</th>
                </tr>
                <#list doorTickets as li>
                    <tr align="center">
                        <td>${li_index + 1}</td>
                        <td>${(li.ticket.city)!}</td>
                        <td>${(li.ticket.address)!}</td>
                        <td>${(li.ticket.businessHours?string('yyyy.MM.dd HH:mm'))!}</td>
                        <td>${(li.ticket.price)!}</td>
                        <#if li.ticket.type == 0>
                            <td>儿童票</td>
                        <#else>
                         <td>成人票</td>
                        </#if>


                        <td>待支付</td>
                    </tr>
                </#list>
            </table>
        </div>
</body>

</html>